package utils

type DetaultHttpModel struct {
	Status       int    `json:"status" form:"status"`
	Message 	 string `json:"message" form:"message"`
	Result 		 interface{} 	`json:"result" form:"result"`
}

func GetHttpDetaultModel() DetaultHttpModel {
	model := DetaultHttpModel{Status:100,Message:"Request Success !"}
	return model
}

func GetHttp404Model() DetaultHttpModel {
	model := DetaultHttpModel{Status:404,Message:"No Data !"}
	return model
}